package org.yijiaganxi.common.entity.member;

import java.math.BigDecimal;
import java.util.Date;

import org.yijiaganxi.common.entity.merchantsExplain.YjgxMerchantsExplain;
import org.yijiaganxi.common.entity.merchantsExplain.YjgxMerchantsExplain.YjgxMerchantsExplainBuilder;

import com.baomidou.mybatisplus.annotations.TableField;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 会员记录
 * </p>
 *
 * @author zhangguowei123
 * @since 2020-08-29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class YjgxMember implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    @TableField("createDate")
    private Date createDate;
    @TableField("modifyDate")
    private Date modifyDate;
    @TableField("createUser")
    private String createUser;
    @TableField("modifyUser")
    private String modifyUser;
    @TableField("openId")
    private Integer openId;
    @TableField("nickName")
    private String nickName;
    /**
     * 头像
     */
    @TableField("headPhoto")
    private String headPhoto;
    /**
     * 用户状态 0未激活 1激活
     */
    private Integer status;
    /**
     * 总充值金额
     */
    @TableField("totalRechargeAmount")
    private BigDecimal totalRechargeAmount;
    /**
     * 当前余额
     */
    private BigDecimal balance;
    private String mobile;
    /**
     * 打印机状态  0没有  1有
     */
    @TableField("printStatus")
    private Integer printStatus;
    /**
     * 用户权限
     */
    @TableField("permissionsId")
    private Integer permissionsId;
    @TableField("cardNo")
    private Long cardNo;
    /**
     * 0长期有效  1制定时间段有效
     */
    @TableField("cardStatus")
    private Integer cardStatus;
    /**
     * 卡有限期   2020-8-28:2020-8-29
     */
    @TableField("cardValid")
    private String cardValid;


   
}
